<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>更新商家页</title>
</head>
<body>
<form action="/merchant/do/update" method="post">
    <input name="id" th:value="${merchant.merchantId}" type="hidden" />
    商家姓名：<span th:text="${merchant.merchantName}"></span><input name="merchantName" type="hidden" th:value="${merchant.merchantName}"/><br/>
    商家店铺名称：<input name="merchantShopName" th:value="${merchant.merchantShopName}"/><br/>
    商家账号：<span th:text="${merchant.merchantAccount}"></span>
    
    <!-- 账号不可以修改 但是在更新时需要传递 所以将其隐藏不显示 -->
    <input name="merchantAccount" type="hidden" th:value="${merchant.merchantAccount}"/><br/>
    <input name="merchantPassword" th:value="${merchant.merchantPassword}" type="hidden" />
    <input name="status" th:value="${merchant.status}" type="hidden" />
    商家经营范围：<input name="merchantScope" th:value="${merchant.merchantScope}" /><br/>
    <input type="submit" value="提交"/><br/>
</form>

</body>
</html>
